package com.md.yuan;

import java.util.Scanner;

public class Yuan2 {

	public static void main(String[] args) {
		
		int a;
		Scanner scan = new Scanner (System.in);
		
		System.out.println("请输入一个整数:");
		a = scan.nextInt();
		
		if (a % 2 == 0 ) 
		      {System.out.println("这个数是偶数");}
		else{System.out.println("这个数是奇数");
		}
	}
}